package com.zrrd.gmall.item.feign;

import com.zrrd.gmall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient("service-item")
public interface ItemFeignClient {
    @GetMapping("/api/item/{skuId}")
    public Result getItem(@PathVariable Long skuId);
}
